﻿// ReSharper disable InconsistentNaming

namespace kemocard.Scripts.Common;

public static class Defines
{
}

public static class CommonEvent
{
    public const string OpenMenuScene = "OpenMenuScene";
    public const string OpenSettingScene = "OpenSettingScene";
    public const string OpenAlertView = "OpenAlertView";
    public const string ShowLoadingScene = "ShowLoadingScene";
    public const string OpenMapSelectScene = "OpenMapSelectScene";
    public const string StartBattle = "StartBattle";
    public const string OpenLevel = "OpenLevel";
    public const string StartBattle_BY_PRESET = "StartBattle_BY_PRESET";
    public const string GetReward = "GetReward";
    public const string AddUnhandledReward = "AddUnhandledReward";
    public const string UnhandledRewardChanged = "UnhandledRewardChanged";

    public const string BattleEvent_StartBattle = "BattleEvent_StartBattle";
    public const string BattleEvent_StartTurn = "BattleEvent_StartTurn";
    public const string BattleEvent_EndAction = "BattleEvent_EndAction";
    public const string BattleEvent_EndTurn = "BattleEvent_EndTurn";
    public const string BattleEvent_UseCard = "BattleEvent_UseCard";
    public const string BattleEvent_CancelUseCard = "BattleEvent_CancelUseCard";
    public const string BattleEvent_Render = "BattleEvent_Render";
    public const string BattleEvent_StartBattle_Ready = "BattleEvent_StartBattle_Ready";
    public const string BattleEvent_EndBattle = "BattleEvent_EndBattle";
    public const string BattleEvent_EnemyItemClicked = "BattleEvent_EnemyItemClicked";
    public const string BattleEvent_SelectCardChanged = "BattleEvent_SelectCardChanged";
    public const string BattleEvent_TeammateItemClicked = "BattleEvent_TeammateItemClicked";
    public const string BattleEvent_ConfirmBtnPressed = "BattleEvent_ConfirmBtnPressed";
    public const string BattleEvent_RemoveAllEnemies = "BattleEvent_RemoveAllEnemies";
    public const string BattleEvent_AddEnemies = "BattleEvent_AddEnemies";
    public const string BattleEvent_StartFloor = "BattleEvent_StartFloor";
    public const string BattleEvent_CardUsed = "BattleEvent_CardUsed";

    public const string PlayerPropUpdate = "PlayerPropUpdate";
    public const string PlayerDeckUpdate = "PlayerDeckUpdate";
    public const string RunCardPoolUpdate = "RunCardPoolUpdate";
    public const string TeamListUpdate = "TeamListUpdate";

    public const string OnViewOpen = "OnViewOpen";
}

public static class PriorityDefines
{
    public const int Unlock = 1;
    public const int Support = 5;
    public const int SupportNGuard = 10;
    public const int SupportNHeal = 13;

    /** 支援-根据防御治疗 */
    public const int SupportNGuardNHeal = 15;

    /** 支援-根据生命防御 */
    public const int SupportNHealthGuard = 17;

    public const int Taunt = 19;
    public const int Block = 20;
    public const int Guard = 30;
    public const int Heal = 40;
    public const int Attack = 50;
}